package com.yixun.qfbao.api.service;

import com.yixun.qfbao.apidto.SelectPremisesImageListResDto;
import com.yixun.qfbao.model.PremisesImage;
import com.yixun.qfbao.xf.model.dto.PremisesPhotoDto;

import java.util.List;

public interface PremisesImageService {

    int adds(List<PremisesImage> list,Long premisesId);

    int edits(List<PremisesImage> list, Long premisesId);

    int saveOrEdit(PremisesImage premisesImage);
    /**
     * 楼盘相册
     * @param premisesId
     * @return
     */
    public List<PremisesPhotoDto> selectPremisesPhono(Long premisesId);

    SelectPremisesImageListResDto selectPremisesImageList(Long premisesId);
}
